<template>
  <div class="content">
    <div class="nav">
      <router-link to="/find">发现音乐</router-link>
      <router-link to="/my">我的音乐</router-link>
      <router-link to="/friend">朋友</router-link>
      <router-link to="/login">登录</router-link>
    </div>
    <div class="main"><router-view></router-view></div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.content {
  height: 100vh;
  display: flex;
}
.nav {
  width: 150px;
  display: flex;
  flex-direction: column;
  background-color: skyblue;
}
.nav a {
  flex: 1;
  border: 1px solid #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main {
  flex: 1;
  background-color: orange;
}
</style>
